﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Infrastructure.Dispatcher
{
    /// <summary>
    /// 调度器接口
    /// </summary>
    public interface IDispatcher
    {
        /// <summary>
        /// 唯一标识
        /// </summary>
        String Id { get; }

        /// <summary>
        /// 开始
        /// </summary>
        void Start();
        /// <summary>
        /// 停止
        /// </summary>
        void Stop();
        /// <summary>
        /// 暂停
        /// </summary>
        void Pause();
        /// <summary>
        /// 继续
        /// </summary>
        void Continue();
    }
}
